﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kenly.ChineseSegment.Core
{
    public class WordFrequence
    {
        private string _word;
        private int _sentenceIndex;
        private int _index;
        private int _frequence;

        public string Word
        {
            get
            {
                return _word;
            }
            set
            {
                _word = value;
            }
        }

        public int SentenceIndex
        {
            get
            {
                return _sentenceIndex;
            }
            set
            {
                _sentenceIndex = value;
            }
        }

        public int Index
        {
            get
            {
                return _index;
            }
            set
            {
                _index = value;
            }
        }

        public int Frequence
        {
            get
            {
                return _frequence;
            }
            set
            {
                _frequence = value;
            }
        }

        public override string ToString()
        {
            return this.Word;
        }

    }
}
